
const routes = [
  {
    path: "/",
    redirect: "/index1",
  },
  {
    title: "页面一",
    name: "index1",
    path: "/index1",
    component: "./index1",
  },
  {
    title: "页面二",
    name: "index2",
    path: "/index2",
    component: "./index2",
  },
  {
    title: "页面三",
    name: "index3",
    path: "/index3",
    // 全局布局，默认会在所有路由下生效，可以单独关闭
    layout: false,
    component: "./index3",
  },
];

export default routes;
